from pydantic import Field
from model.request import BaseRequest

class SearchRequest(BaseRequest):
    """搜索笔记请求"""
    keyword: str = Field(description="搜索关键词")
    noteType: str = Field(default="1", description="笔记类型")
    sort: str = Field(default="general", description="排序") 
    total: int = Field(default=100, description="总数量")

class NoteRequest(BaseRequest):
    """笔记相关请求"""
    link: str = Field(description="笔记链接")

class UserRequest(BaseRequest):
    """用户相关请求"""
    link: str = Field(description="用户链接") 